package com.uuj.project.net;

import com.uuj.project.base.BaseRequest;
import com.uuj.project.base.BaseResponse;

import java.util.Map;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * ProjectName:    ok_rxjava_retrofit
 * Package:        com.uuj.project.net
 * ClassName:      IApiService
 * Description:    描述
 * Author:         张继
 * CreateDate:     2019/8/8 11:43
 * UpdateUser:     更新者
 * UpdateDate:     2019/8/8 11:43
 * UpdateRemark:   更新说明
 * Version:        1.0
 */
public interface IApiService {


    /**
     * 8.账号信息
     *
     * @param json 参数列表
     * @return 返回Observable
     */
    @GET("/api/app/user/info")
    Flowable<BaseResponse<Object>> info(@HeaderMap Map<String, String> header, @Query("_m") String json);

}
